package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 车辆信息
 */
@Getter
@Setter
public class Car {
    private Long id;

    private String owner; //车主姓名

    private String brand;  //车辆品牌

    private String model; //车辆型号

    private String number; //车牌号码

    private Long gas; //排气量

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date purchaseDate; //购买日期

    private Long price; //市场估价

    private boolean type;  //分类

    private int loadSize; //车载大小

    private String remark;  //备注

}